<template>
  <div>
    <a v-bind:href="url">跳转百度。</a>
    <img :src="imgUrl">
  </div>
</template>

<script>
export default {
  data() {
    return{
      url:'https://www.baidu.com/',
      imgUrl:'http://yun.itheima.com/Upload/./Images/20210409/60702331a4831.jpg'
    }
  }

}
</script>

<style>

</style>